// 首页主内容
import React from 'react'
import './index.css'
import BannerImg from '../../images/banner_03.jpg'
//顶部导航组件
export default class Banner extends React.Component{
    constructor(props){
        super(props)
        this.state={}
    }
    render(){
        return (
            <div className="banneri">
			    <div className="topNav_cont">
				<div id="carousel-example-generic" className="carousel slide" data-ride="carousel">  
				  <ol className="carousel-indicators">
				    <li data-target="#carousel-example-generic" data-slide-to="0" className="active"></li>
				    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
				    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
				  </ol>
				  <div className="carousel-inner" role="listbox">
				    <div className="item active">
				      <img src={BannerImg} alt="banner1"/>
				    </div>
				    <div className="item">
				      <img src={BannerImg} alt="banner2"/>
				    </div>
				     <div className="item">
				      <img src={BannerImg} alt="banner3"/>
				    </div>
				  </div>
				</div>
			</div>
		</div>
        )
    }
}